Optimal. Leaf size=81 \[ -\frac {a^3 A}{2 x^2}-\frac {a^3 B}{x}+3 a^2 A c \log (x)+3 a^2 B c x+\frac {3}{2} a A c^2 x^2+a B c^2 x^3+\frac {1}{4} A c^3 x^4+\frac {1}{5} B c^3 x^5 \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {766} \begin {gather*} 3 a^2 A c \log (x)-\frac {a^3 A}{2 x^2}+3 a^2 B c x-\frac {a^3 B}{x}+\frac {3}{2} a A c^2 x^2+a B c^2 x^3+\frac {1}{4} A c^3 x^4+\frac {1}{5} B c^3 x^5 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 766
Rubi steps
\begin {align*} \int \frac {(A+B x) \left (a+c x^2\right )^3}{x^3} \, dx &=\int \left (3 a^2 B c+\frac {a^3 A}{x^3}+\frac {a^3 B}{x^2}+\frac {3 a^2 A c}{x}+3 a A c^2 x+3 a B c^2 x^2+A c^3 x^3+B c^3 x^4\right ) \, dx\\ &=-\frac {a^3 A}{2 x^2}-\frac {a^3 B}{x}+3 a^2 B c x+\frac {3}{2} a A c^2 x^2+a B c^2 x^3+\frac {1}{4} A c^3 x^4+\frac {1}{5} B c^3 x^5+3 a^2 A c \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 81, normalized size = 1.00 \begin {gather*} -\frac {a^3 A}{2 x^2}-\frac {a^3 B}{x}+3 a^2 A c \log (x)+3 a^2 B c x+\frac {3}{2} a A c^2 x^2+a B c^2 x^3+\frac {1}{4} A c^3 x^4+\frac {1}{5} B c^3 x^5 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(A+B x) \left (a+c x^2\right )^3}{x^3} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.39, size = 79, normalized size = 0.98 \begin {gather*} \frac {4 \, B c^{3} x^{7} + 5 \, A c^{3} x^{6} + 20 \, B a c^{2} x^{5} + 30 \, A a c^{2} x^{4} + 60 \, B a^{2} c x^{3} + 60 \, A a^{2} c x^{2} \log \relax (x) - 20 \, B a^{3} x - 10 \, A a^{3}}{20 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 74, normalized size = 0.91 \begin {gather*} \frac {1}{5} \, B c^{3} x^{5} + \frac {1}{4} \, A c^{3} x^{4} + B a c^{2} x^{3} + \frac {3}{2} \, A a c^{2} x^{2} + 3 \, B a^{2} c x + 3 \, A a^{2} c \log \left ({\left | x \right |}\right ) - \frac {2 \, B a^{3} x + A a^{3}}{2 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 74, normalized size = 0.91 \begin {gather*} \frac {B \,c^{3} x^{5}}{5}+\frac {A \,c^{3} x^{4}}{4}+B a \,c^{2} x^{3}+\frac {3 A a \,c^{2} x^{2}}{2}+3 A \,a^{2} c \ln \relax (x )+3 B \,a^{2} c x -\frac {B \,a^{3}}{x}-\frac {A \,a^{3}}{2 x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.62, size = 73, normalized size = 0.90 \begin {gather*} \frac {1}{5} \, B c^{3} x^{5} + \frac {1}{4} \, A c^{3} x^{4} + B a c^{2} x^{3} + \frac {3}{2} \, A a c^{2} x^{2} + 3 \, B a^{2} c x + 3 \, A a^{2} c \log \relax (x) - \frac {2 \, B a^{3} x + A a^{3}}{2 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 73, normalized size = 0.90 \begin {gather*} \frac {A\,c^3\,x^4}{4}-\frac {\frac {A\,a^3}{2}+B\,a^3\,x}{x^2}+\frac {B\,c^3\,x^5}{5}+3\,B\,a^2\,c\,x+\frac {3\,A\,a\,c^2\,x^2}{2}+B\,a\,c^2\,x^3+3\,A\,a^2\,c\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.29, size = 85, normalized size = 1.05 \begin {gather*} 3 A a^{2} c \log {\relax (x )} + \frac {3 A a c^{2} x^{2}}{2} + \frac {A c^{3} x^{4}}{4} + 3 B a^{2} c x + B a c^{2} x^{3} + \frac {B c^{3} x^{5}}{5} + \frac {- A a^{3} - 2 B a^{3} x}{2 x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________